// HookManager.h: interface for the CHookManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HOOKMANAGER_H__73357AF1_481E_4E44_9E8E_CDE9FD85EEFB__INCLUDED_)
#define AFX_HOOKMANAGER_H__73357AF1_481E_4E44_9E8E_CDE9FD85EEFB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "EntityDefine.h"

class CHookManager  
{
private:
	static CHookManager* m_pInstance;
	HMODULE	m_hModule;
	BOOL	m_bIsRunning;
	lpFuncSetAcc	m_pSetAcc;
	lpFuncSetHook	m_pSetHook;
public:
	CHookManager();
	static CHookManager* CreateInstance();
	virtual ~CHookManager();
	void SetAccount(int iAccIndex);
	void SetHookFunc();
	inline BOOL IsRunning()
	{
		return m_bIsRunning;
	}
};

#endif // !defined(AFX_HOOKMANAGER_H__73357AF1_481E_4E44_9E8E_CDE9FD85EEFB__INCLUDED_)
